package com.myd.model;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import org.apache.ibatis.type.MappedJdbcTypes;

/**
 *   `year` int(11) NOT NULL,
 *   `month` int(11) NOT NULL,
 *   `day` int(11) NOT NULL,
 *   `hour` int(11) NOT NULL,
 *   `AP` double NOT NULL COMMENT '大气压',
 *   `DBT` double NOT NULL COMMENT '干球温度',
 *   `RH` int(11) NOT NULL COMMENT '相对温度',
 *   `DPT` double NOT NULL COMMENT '露点温度',
 *   `WD` double NOT NULL COMMENT '风向',
 *   `WS` double(10,1) NOT NULL COMMENT '风速',
 *   `CC` int(10) NOT NULL COMMENT '云量',
 *   `TH` double(10,1) NOT NULL COMMENT '太阳总辐射',
 *   `NR` double(10,1) NOT NULL COMMENT '法向直射辐射',
 */
@TableName("t_standard")
public class StandardData {
    private int year;
    private int month;
    private int day;
    private int hour;
    private double AP;
    private double DBT;
    private double RH;
    private double DPT;
    private double WD;
    private double WS;
    private int CC;
    private double TH;
    private double NR;
    private double DF;
    @TableField("station_no")
    private int station;

    public int getStation() {
        return station;
    }

    public void setStation(int station) {
        this.station = station;
    }

    public StandardData(){

    }
    public StandardData(int year, int month, int day, int hour, double AP, double DBT, double RH, double DPT, double WD, double WS, int CC, double TH, double NR, double DF,int station) {
        this.station = station;
        this.year = year;
        this.month = month;
        this.day = day;
        this.hour = hour;
        this.AP = AP;
        this.DBT = DBT;
        this.RH = RH;
        this.DPT = DPT;
        this.WD = WD;
        this.WS = WS;
        this.CC = CC;
        this.TH = TH;
        this.NR = NR;
        this.DF = DF;
    }

    public int getYear() {
        return year;
    }

    public void setYear(int year) {
        this.year = year;
    }

    public int getMonth() {
        return month;
    }

    public void setMonth(int month) {
        this.month = month;
    }

    public int getDay() {
        return day;
    }

    public void setDay(int day) {
        this.day = day;
    }

    public int getHour() {
        return hour;
    }

    public void setHour(int hour) {
        this.hour = hour;
    }

    public double getAP() {
        return AP;
    }

    public void setAP(double AP) {
        this.AP = AP;
    }

    public double getDBT() {
        return DBT;
    }

    public void setDBT(double DBT) {
        this.DBT = DBT;
    }

    public double getRH() {
        return RH;
    }

    public void setRH(double RH) {
        this.RH = RH;
    }

    public double getDPT() {
        return DPT;
    }

    public void setDPT(double DPT) {
        this.DPT = DPT;
    }

    public double getWD() {
        return WD;
    }

    public void setWD(double WD) {
        this.WD = WD;
    }

    public double getWS() {
        return WS;
    }

    public void setWS(double WS) {
        this.WS = WS;
    }

    public int getCC() {
        return CC;
    }

    public void setCC(int CC) {
        this.CC = CC;
    }

    public double getTH() {
        return TH;
    }

    public void setTH(double TH) {
        this.TH = TH;
    }

    public double getNR() {
        return NR;
    }

    public void setNR(double NR) {
        this.NR = NR;
    }

    public double getDF() {
        return DF;
    }

    public void setDF(double DF) {
        this.DF = DF;
    }

    @Override
    public String toString() {
        return "StandardData{" +
                "year=" + year +
                ", month=" + month +
                ", day=" + day +
                ", hour=" + hour +
                ", AP=" + AP +
                ", DBT=" + DBT +
                ", RH=" + RH +
                ", DPT=" + DPT +
                ", WD=" + WD +
                ", WS=" + WS +
                ", CC=" + CC +
                ", TH=" + TH +
                ", NR=" + NR +
                ", DF=" + DF +
                '}';
    }
}
